package com.zzg.cloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(scanBasePackages = {"com.zzg"})
@EnableConfigurationProperties
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableAsync
@Slf4j
public class MySpringCloudDemoTaskApplication {
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(MySpringCloudDemoTaskApplication.class, args);
        log.info("MySpringCloudDemoTask，启动！");
    }
}